package models

import (
	"gitee.com/sansaniot/ssiot-core/httpmvc/model"
)

type SysDev struct {
	Id           string `json:"id" gorm:"primaryKey"`
	Sn           string `json:"sn"`
	Type         string `json:"type"`
	ProductModel string `json:"productModel"`
	model.Model
}

func (SysDev) TableName() string {
	return "sys_dev"
}

func (e *SysDev) Generate() interface{} {
	o := *e
	return &o
}

func (e *SysDev) GetId() interface{} {
	return e.Id
}
